{extend name="public/base" /} {block name="body"}
<div class="ibox float-e-margins">
		<div class="content-tabs">
			<ol class="breadcrumb">
				<li>
					<a href="{:url('index/index')}"><i class="fa fa-home"></i></a>
				</li>
				<li><strong>提现方式列表</strong></li>
			</ol>
		</div>

	<div class="ibox-content">
		<form id="myForm" class="form-horizontal m-t" method="post" action="{:url('search')}">
		<div class="form-group" >
			

				&nbsp;&nbsp;&nbsp;
				用户名称<input type="text" id="name" name="name" value="" placeholder="请输入用户名称" class="blank" />
			        手机号<input type="text" id="mobile" name="mobile" value="" placeholder="请输入手机号" class="blank" />
				用户类型<select name="type" class="blank">
         			<option value="0">请选择用户类型</option>
                        <option value="1">普通用户</option>
                        <option value="2">商户</option>
                        <option value="3">总代理</option>
                    </select>
			         添加时间<input type="text" id='add_time' name='add_time'   onclick='WdatePicker()'  placeholder="开始时间" class="blank" />
						            <input type="text" id='end_time' name='end_time'   onclick='WdatePicker()'  placeholder="结束时间" class="blank" />
                                  <input type='hidden' name="end_time"  value="2017-4-1" >				
								<span class="blank" style="border-radius:0px;border:1px;"><button type="submit" class="btn btn-sm btn-primary"><li class="fa fa-search"> 查询</li></button> </span>

		</div>
		
      	
        </form>
		<div class="hr-line-dashed"></div>
            <div class="example-wrap">
                <div class="example">
                    <table class="table table-bordered table-hover">
                        <thead>
                            <tr class="long-tr">
                            	<th >手机号</th>
                            	<th>用户名</th>
                                <th >用户类型</th>
                                <th >默认方式</th>
                                <th>银行卡</th>
                                <th>银行卡号</th>
                                 <th>支付宝号</th>
                                  <th>微信号</th>
                                <th>添加时间</th>
                            </tr>
                        </thead>
                        <tbody id="list">
                        	{volist name="list" id='ad'}
                        	<tr>
                        	   
                        		<td>{$ad.mobile}</td>
                        		<td>{$ad.nick_name}</td>
                        		<td>{if $ad.user_type==1}
                        			普通用户
                        			{elseif  $ad.user_type==2}
                        			商户
                        			{elseif  $ad.user_type==3}
                        			总代理
                        			{/if}
                        		</td>
                        		<td>{if $ad.type==1}
                        			银行卡
                        			{elseif  $ad.type==2}
                        			支付宝
                        			{elseif  $ad.type==3}
                        			微信支付
                        			{/if}
                        		</td>
                        		<td> {$ad.bank_account}</td>
                        		<td> {$ad.card_no}</td>
                        		<td> {$ad.alipay}</td>
                        		<td>{$ad.wechat_account}</td>
                        		<td>{$ad.add_time}</td>
                        	</tr>
                        	{/volist}
                        </tbody>
                    </table>
                    <div style="text-align: right;">
                      {$list->render()}
                    </div>
                </div>
            </div>
            </div>
</div>
{/block} {block name="script"}
<script src="__LIB__/datepicker/WdatePicker.js"></script>
<script>
</script>
<style>
.blank{
	width: 150px;
    height:30px;
    text-align:center;
    border-radius:5px;
}
</style>
{/block}